package com.jzone.teacherajax.service;

import com.jzone.teacherajax.pojo.Teacher;

import java.util.List;

public interface TeacherService {

    void add(Teacher teacher);

    void update(Teacher teacher);

    void delete(Integer id);

    List<Teacher> getAllTeachers(int page, int size);

    Teacher getTeacherByEmployeeId(Integer id);

    int getTeacherCount();

}
